/* 页面内容样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    padding: 40px 0;
    margin-bottom: 40px;
}

/* 带背景图片的页面标题区域 */
.page-header-banner {
    position: relative;
    padding: 100px 0 50px;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* 蓝色渐变背景层（底层） */
.page-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(0, 82, 163, 0.9) 50%, rgba(45, 11, 241, 0.85) 100%);
    z-index: 1;
}

/* 背景图片层（上层） */
.page-header-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/page-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    opacity: 0.9;
}

.page-header-banner .page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 102, 204, 0.2) 0%, 
        rgba(0, 102, 204, 0.3) 50%,
        rgba(0, 82, 163, 0.4) 100%);
    z-index: 3;
    opacity: 0.6;
}

.page-header-banner .container {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header-banner .breadcrumb {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    font-weight: 400;
}

.page-header-banner .breadcrumb a {
    color: #fff;
    transition: opacity 0.3s;
    text-decoration: none;
}

.page-header-banner .breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.page-header-banner .breadcrumb span {
    color: #fff;
    opacity: 1;
}

.page-header-banner .page-title {
    font-size: 42px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    line-height: 1.2;
    color: #ffffff;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fff;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    color: #fff;
    opacity: 0.7;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}

/* 页面内容区域 */
.page-content {
    padding: 40px 0 80px;
    background-color: #fff;
}

/* 当使用 banner 样式时，调整内容区域的间距 */
.page-header-banner + .page-content {
    padding-top: 50px;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.content-main {
    background-color: #fff;
}

.content-text {
    line-height: 1.8;
    color: #333;
}

.content-text h2 {
    font-size: 28px;
    color: #0066cc;
    margin: 30px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.content-text h3 {
    font-size: 22px;
    color: #333;
    margin: 25px 0 15px;
}

.content-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.content-list {
    margin: 20px 0;

}

.content-list li {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.8;
}

.content-list li::marker {
    color: #0066cc;
}

/* 图片内容 */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 地址信息图片 */
.address-image {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.address-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
    object-fit: contain;
}

.content-image p {
    margin-top: 10px;
    font-size: 14px;
    color: #999;
    font-style: italic;
}

/* 表格样式 */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: #fff;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.content-table th {
    background-color: #0066cc;
    color: #fff;
    font-weight: bold;
}

.content-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.content-table tr:hover {
    background-color: #f0f0f0;
}

/* 卡片布局 */
.content-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.content-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 25px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.content-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.content-card h4 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 15px;
}

.content-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 时间轴样式（发展历程） */
.timeline {
    position: relative;
    padding: 20px 0;
    margin: 40px auto;
    max-width: 900px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(to bottom, #e0e0e0, #c0d9f5);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0066cc;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.25);
    z-index: 2;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-year {
    font-size: 18px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 8px;
    display: block;
}

.timeline-item:nth-child(odd) .timeline-year {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
}

.timeline-content {
    background-color: #fff;
    border-radius: 6px;
    padding: 18px 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e3eaf5;
}

.timeline-content h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 联系表单样式 */
.contact-form {
    max-width: 600px;
    margin: 30px auto;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background-color: #0066cc;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit:hover {
    background-color: #0052a3;
}

.form-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 表单验证样式 */
.error-message {
    display: none;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1.4;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 新闻列表页面 */
.news-list-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item-page {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: box-shadow 0.3s;
    min-height: 150px;
    align-items: flex-start;
}

.news-item-page:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-item-page .news-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 5px;
}

.news-item-page .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-page .news-content {
    flex: 1;
}

.news-item-page .news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item-page h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.news-item-page h3 a {
    color: inherit;
    text-decoration: none;
}

.news-item-page:hover h3,
.news-item-page:hover h3 a {
    color: #0066cc;
}

.news-item-page .news-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-item-page p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.pagination .active {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* 新闻详情页样式 */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-detail-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.news-detail-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #999;
    font-size: 14px;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-detail-image {
    width: 100%;
    margin: 30px 0;
    text-align: center;
}

.news-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-detail-content {
    line-height: 1.8;
    color: #666;
    font-size: 16px;
}

.news-detail-content p {
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
}

.news-detail-content h3 {
    font-size: 22px;
    color: #333;
    margin: 30px 0 15px;
}

.news-detail-content h4 {
    font-size: 18px;
    color: #333;
    margin: 25px 0 12px;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-detail-content li {
    margin-bottom: 10px;
}

.news-detail-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-detail-footer > div {
    display: flex;
    align-items: center;
}

.news-detail-footer > .news-detail-attachments {
    width: 100%;
}

.news-detail-footer > .news-detail-share {
    justify-content: flex-end;
}

.news-detail-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.news-detail-tags a {
    padding: 5px 15px;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 15px;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.news-detail-tags a:hover {
    background-color: #0066cc;
    color: #fff;
}

.news-detail-share {
    display: none;
    gap: 10px;
    align-items: center;
}

.news-detail-share span {
    color: #666;
    font-size: 14px;
}

.news-detail-share a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #666;
    transition: background-color 0.3s, color 0.3s;
}

.news-detail-share a:hover {
    background-color: #0066cc;
    color: #fff;
}

.news-detail-attachments {
    margin-bottom: 20px;
}

.news-detail-attachments h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.news-detail-attachments ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-detail-attachments li {
    margin-bottom: 8px;
}

.news-detail-attachments a {
    display: inline-flex;
    align-items: center;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.news-detail-attachments a::before {
    content: "📎";
    margin-right: 8px;
    font-size: 16px;
}

.news-detail-attachments a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.news-navigation {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news-nav-item {
    flex: 1;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.news-nav-item:hover {
    background-color: #f0f0f0;
}

.news-nav-item.prev {
    text-align: left;
}

.news-nav-item.next {
    text-align: right;
}

.news-nav-item span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.news-nav-item a {
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

.news-nav-item a:hover {
    color: #0066cc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

    .content-text h2 {
        font-size: 24px;
    }

    .content-text h3 {
        font-size: 20px;
    }

    .content-cards {
        grid-template-columns: 1fr;
    }

    .timeline {
        margin: 30px 0;
    }

    .timeline::before {
        left: 15px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding: 20px 20px 20px 50px;
        text-align: left !important;
    }

    .timeline-item::before {
        left: 7px;
        right: auto;
    }

    .news-item-page {
        flex-direction: column;
    }

    .news-item-page .news-image {
        width: 100%;
        height: 200px;
    }

    .news-detail {
        padding: 20px;
    }

    .news-detail-title {
        font-size: 24px;
    }

    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-detail-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .news-navigation {
        flex-direction: column;
    }

    /* 移动端地址信息图片样式 */
    .address-image {
        margin: 20px 0;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .address-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
    }
}


