/* zynlrd.com 全站样式
   沿用原首页视觉：主色 #1e5799 / #2989d8 / #207cca，底色 #f5f7fa
*/

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.75;
    background: #f5f7fa;
    -webkit-text-size-adjust: 100%;
}

a {
    color: #1e5799;
    text-decoration: none;
}

a:hover {
    color: #2989d8;
    text-decoration: underline;
}

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

h1, h2, h3, h4 {
    line-height: 1.4;
    font-weight: 700;
}

/* ---------- 顶部导航 ---------- */
.site-header {
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
    color: #fff;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: #fff;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #1e5799;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.site-header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.site-header nav ul li {
    margin-left: 26px;
}

.site-header nav ul li a {
    color: #fff;
    font-size: 15px;
    opacity: 0.92;
    transition: opacity 0.3s;
    display: block;
    padding: 4px 0;
}

.site-header nav ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.site-header nav ul li a.active {
    opacity: 1;
    border-bottom: 2px solid #fff;
    text-decoration: none;
}

/* ---------- 主区 ---------- */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.breadcrumb {
    padding: 16px 0 4px;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    margin: 0 4px;
}

.page-head {
    padding: 26px 0 20px;
    border-bottom: 1px solid #e3e8ef;
    margin-bottom: 26px;
}

.page-head h1 {
    font-size: 30px;
    color: #1e5799;
    margin-bottom: 8px;
}

.page-head p {
    color: #666;
    font-size: 15px;
}

/* ---------- Banner ---------- */
.banner {
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 100%);
    color: #fff;
    text-align: center;
    padding: 76px 20px;
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/images/banner.jpg") center/cover;
    opacity: 0.15;
}

.banner h1 {
    font-size: 40px;
    margin-bottom: 18px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner p {
    font-size: 18px;
    max-width: 820px;
    margin: 0 auto 28px;
    position: relative;
}

.banner-btns {
    position: relative;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary {
    background: #fff;
    color: #1e5799;
}

.btn-primary:hover {
    background: #f0f0f0;
    color: #1e5799;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #1e5799;
    text-decoration: none;
}

/* ---------- 内容大字区 ---------- */
.content-highlight {
    background: #fff;
    padding: 64px 20px;
    text-align: center;
    margin: 0 -20px 44px;
}

.content-highlight h2 {
    font-size: 52px;
    color: #1e5799;
    margin-bottom: 14px;
    letter-spacing: 4px;
}

.content-highlight .subtitle {
    font-size: 22px;
    color: #2989d8;
    margin-bottom: 28px;
}

.content-highlight .description {
    font-size: 17px;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 2;
}

/* ---------- 栏目入口卡 ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.entry-card {
    background: #fff;
    padding: 30px 22px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 3px solid #1e5799;
}

.entry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.entry-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e5799;
}

.entry-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
}

/* ---------- 通用 section ---------- */
.section {
    padding: 30px 0;
}

.split-two {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: start;
}

.split-two h2 {
    font-size: 24px;
    color: #1e5799;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3e8ef;
}

/* ---------- 最新发布 ---------- */
.latest-list {
    list-style: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.latest-list li {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.latest-list li:last-child {
    border-bottom: none;
}

.latest-list li a {
    flex: 1;
    font-size: 15px;
}

.latest-list li a:hover {
    color: #2989d8;
}

.latest-list li time {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}

.more {
    margin-top: 14px;
    font-size: 14px;
}

/* ---------- 数据统计 ---------- */
.stats {
    background: linear-gradient(135deg, #1e5799, #2989d8);
    color: #fff;
    border-radius: 8px;
    padding: 30px 24px;
}

.stats h2 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: 40px;
    margin-bottom: 6px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
}

.stats .more a {
    color: #fff;
    text-decoration: underline;
}

/* ---------- 关于 ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.about-text h2 {
    font-size: 26px;
    color: #1e5799;
    margin-bottom: 16px;
}

.about-text p {
    color: #555;
    font-size: 15px;
    margin-bottom: 12px;
}

.about-image {
    height: 280px;
    background: url("/images/about.jpg") center/cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* ---------- 列表页 ---------- */
.list-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 8px 28px;
}

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

.list-item {
    padding: 22px 0;
    border-bottom: 1px solid #eef1f5;
}

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

.list-item a {
    font-size: 18px;
    font-weight: 600;
    color: #1e5799;
}

.list-item a:hover {
    color: #2989d8;
}

.list-item time {
    display: block;
    color: #999;
    font-size: 13px;
    margin: 4px 0 8px;
}

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

.empty {
    padding: 40px 0;
    text-align: center;
    color: #999;
}

/* ---------- 详情页 ---------- */
.detail {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 36px 40px;
}

.detail h1 {
    font-size: 28px;
    color: #1e5799;
    margin-bottom: 14px;
    line-height: 1.5;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #999;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eef1f5;
}

.detail-meta .cat {
    background: #eaf2fb;
    color: #1e5799;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.detail-body {
    font-size: 16px;
    color: #444;
    line-height: 2;
}

.detail-body h2 {
    font-size: 21px;
    color: #1e5799;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #2989d8;
}

.detail-body h3 {
    font-size: 17px;
    color: #2c3e50;
    margin: 22px 0 8px;
}

.detail-body p {
    margin-bottom: 14px;
}

.detail-body ul,
.detail-body ol {
    margin: 0 0 16px 22px;
}

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

.detail-body strong {
    color: #1e5799;
    font-weight: 600;
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #eef1f5;
    font-size: 14px;
}

.detail-nav a {
    color: #666;
    max-width: 46%;
}

.detail-nav a:hover {
    color: #2989d8;
}

/* ---------- 静态页 ---------- */
.static-body {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 36px 40px;
    font-size: 16px;
    color: #444;
    line-height: 2;
}

.static-body h2 {
    font-size: 21px;
    color: #1e5799;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #2989d8;
}

.static-body h3 {
    font-size: 17px;
    color: #2c3e50;
    margin: 22px 0 8px;
}

.static-body p {
    margin-bottom: 14px;
}

.static-body ul,
.static-body ol {
    margin: 0 0 16px 22px;
}

.static-body li {
    margin-bottom: 8px;
}

.static-body strong {
    color: #1e5799;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    background: linear-gradient(135deg, #1e5799, #2989d8);
    color: #fff;
    border-radius: 8px;
    padding: 28px 16px;
    margin-bottom: 20px;
}

.stat-grid .stat-item h3 {
    font-size: 34px;
    margin-bottom: 4px;
}

.stat-grid .stat-item p {
    font-size: 13px;
    opacity: 0.9;
}

/* ---------- 页脚 ---------- */
.site-footer {
    background: #1a2540;
    color: #b3b9c9;
    padding: 38px 20px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
}

.footer-links a {
    color: #b3b9c9;
    font-size: 14px;
    margin: 0 14px;
}

.footer-links a:hover {
    color: #fff;
}

.site-footer p {
    font-size: 13px;
    margin-bottom: 5px;
}

.site-footer a {
    color: #b3b9c9;
}

.copyright {
    border-top: 1px solid #2d3654;
    padding-top: 18px;
    margin-top: 18px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .split-two {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
    }

    .site-header nav ul {
        margin-top: 6px;
        justify-content: center;
    }

    .site-header nav ul li {
        margin: 4px 9px;
    }

    .banner {
        padding: 52px 16px;
        margin: 0 -20px;
    }

    .banner h1 {
        font-size: 26px;
    }

    .banner p {
        font-size: 15px;
    }

    .content-highlight {
        padding: 44px 16px;
        margin: 0 -20px 32px;
    }

    .content-highlight h2 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .content-highlight .subtitle {
        font-size: 17px;
    }

    .content-highlight .description {
        font-size: 15px;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .about-image {
        height: 200px;
    }

    .page-head h1 {
        font-size: 23px;
    }

    .list-section {
        padding: 4px 16px;
    }

    .list-item a {
        font-size: 16px;
    }

    .detail,
    .static-body {
        padding: 24px 18px;
    }

    .detail h1 {
        font-size: 21px;
    }

    .detail-body,
    .static-body {
        font-size: 15px;
    }

    .detail-nav {
        flex-direction: column;
        gap: 10px;
    }

    .detail-nav a {
        max-width: 100%;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-list li {
        flex-direction: column;
        gap: 2px;
    }
}
