/* ==========================================================================
   武汉市新洲公路工程建设有限公司 - 官网样式表
   主色调：深海蓝 #0F3B73
   风格：正式稳重、简约商务
   ========================================================================== */

/* ==========================================================================
   1. CSS 变量定义
   ========================================================================== */
:root {
    --color-primary: #0F3B73;          /* 深海蓝 - 主色 */
    --color-primary-light: #1a5a9e;     /* 深海蓝亮色 - hover/active */
    --color-primary-dark: #0a2a52;      /* 深海蓝暗色 */
    --color-accent: #c5a572;            /* 金色点缀 */
    --color-text: #333333;              /* 正文文字 */
    --color-text-light: #666666;        /* 次要文字 */
    --color-text-muted: #999999;        /* 辅助文字 */
    --color-bg: #ffffff;                /* 纯白背景 */
    --color-bg-gray: #f5f6f8;           /* 浅灰背景 */
    --color-bg-gray-dark: #ebeef2;      /* 深灰背景 */
    --color-border: #e0e4ea;            /* 边框色 */
    --color-white: #ffffff;
    --color-red: #c8161d;               /* 党建红 */
    --color-link: var(--color-primary);

    --font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;

    --header-height: 110px;
    --header-height-mobile: 60px;
    --container-width: 1200px;
    --container-padding: 0 20px;

    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
}

/* ==========================================================================
   2. 基础重置
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-light);
}

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   3. 通用容器与工具类
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding: var(--container-padding);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.fl { float: left; }
.fr { float: right; }
.clearfix::after {
    content: '';
    display: block;
    clear: both;
}

/* 通用标题栏 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 30px;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--color-accent);
}

.section-title p {
    font-size: 14px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* 通用按钮 */
.btn {
    display: inline-block;
    padding: 10px 30px;
    font-size: 14px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
}

/* 通用区块 */
.section {
    padding: 60px 0;
}

.section-gray {
    background: var(--color-bg-gray);
}

/* ==========================================================================
   4. 顶部信息栏
   ========================================================================== */
.top-bar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    height: 36px;
    line-height: 36px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .top-left span {
    margin-right: 20px;
}

.top-bar .top-right {
    margin-right: 15px;
}

.top-bar .top-right a {
    color: rgba(255,255,255,0.8);
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
}

.top-bar .top-right .phone-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
    opacity: 0.9;
}

.top-bar .top-right a:hover {
    color: var(--color-white);
}

/* ==========================================================================
   5. 头部 LOGO + 导航
   ========================================================================== */
.header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(-10px);
}

.logo .logo-icon {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

/* LOGO 文字容器：让单行文字与 LOGO 图标完美水平居中 */
.logo .logo-text {
    display: flex;
    align-items: center;
}

.logo .logo-text h1 {
    font-size: 19px;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 72px;
    height: 72px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    transform: translateY(9px);
}

.logo .logo-text p {
    display: none;
}

/* 主导航 */
.nav {
    display: flex;
    align-items: center;
}

.nav > li {
    position: relative;
}

.nav > li > a {
    display: block;
    padding: 0 15px;
    height: var(--header-height);
    line-height: var(--header-height);
    font-size: 16px;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav > li > a:hover,
.nav > li.active > a {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

/* 下拉子菜单 */
.sub-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    min-width: 160px;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav > li:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-nav li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.sub-nav li a:hover {
    background: var(--color-bg-gray);
    color: var(--color-primary);
    padding-left: 26px;
}

.sub-nav li:last-child a {
    border-bottom: none;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================================================
   6. 轮播 Banner
   ========================================================================== */
.banner {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: var(--color-primary-dark);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-slide.active {
    opacity: 1;
}

/* Banner 遮罩层 - 保证文字可读性 */
.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,59,115,0.75) 0%, rgba(10,42,82,0.55) 50%, rgba(15,59,115,0.65) 100%);
    z-index: 1;
}

/* Banner 背景图片 - 公路工程相关 */
/* 默认背景色（图片加载前显示） */
.banner {
    background: var(--color-primary-dark);
}

.banner-slide .banner-content {
    text-align: center;
    color: var(--color-white);
    z-index: 2;
    padding: 0 20px;
    position: relative;
}

.banner-slide .banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-slide .banner-content p {
    font-size: 18px;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Banner 轮播控制点 */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dots .dot.active {
    background: var(--color-white);
    width: 36px;
    border-radius: 6px;
}

/* Banner 左右箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.2);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: var(--transition);
    z-index: 10;
    border-radius: 50%;
}

.banner-arrow:hover {
    background: rgba(0,0,0,0.4);
}

.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }

/* 子页面 Banner */
.page-banner {
    height: 280px;
    background-color: var(--color-primary-dark);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,59,115,0.82) 0%, rgba(10,42,82,0.7) 100%);
}

.page-banner h2 {
    font-size: 36px;
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 4px;
    position: relative;
    z-index: 2;
}

.page-banner .breadcrumb {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    position: relative;
    z-index: 2;
}

.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.page-banner .breadcrumb a:hover {
    color: var(--color-white);
}

.page-banner .breadcrumb span {
    margin: 0 8px;
}

/* 各内页 Banner 主题背景图 */
.page-banner.banner-about {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&h=400&fit=crop&q=80');
}
.page-banner.banner-business {
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600&h=400&fit=crop&q=80');
}
.page-banner.banner-project {
    background-image: url('https://images.unsplash.com/photo-1473893604213-3df9c15611c0?w=1600&h=400&fit=crop&q=80');
}
.page-banner.banner-news {
    background-image: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1600&h=400&fit=crop&q=80');
}
.page-banner.banner-open {
    background-image: url('https://images.unsplash.com/photo-1495567720989-cebdbdd97913?w=1600&h=400&fit=crop&q=80');
}

/* ==========================================================================
   7. 快捷入口（首页四宫格）
   ========================================================================== */
.quick-entry {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.quick-entry .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-entry-item {
    background: var(--color-white);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border-top: 4px solid var(--color-primary);
}

.quick-entry-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.quick-entry-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--color-bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-primary);
    transition: var(--transition);
}

.quick-entry-item:hover .icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.quick-entry-item h3 {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.quick-entry-item p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   8. 关于我们区域
   ========================================================================== */
.about-section {
    padding: 70px 0;
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    height: 360px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-gray);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-content h2 {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.about-content .subtitle {
    font-size: 14px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-content .divider {
    width: 50px;
    height: 3px;
    background: var(--color-accent);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 14px;
    color: #777777;
    line-height: 2;
    margin-bottom: 15px;
    text-indent: 2em;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.about-stats .stat-item {
    text-align: center;
}

.about-stats .stat-num {
    font-size: 36px;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1;
}

.about-stats .stat-num span {
    font-size: 16px;
}

.about-stats .stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ==========================================================================
   9. 业务板块区域
   ========================================================================== */
.business-section {
    padding: 70px 0;
    background: var(--color-bg-gray);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.business-card {
    background: var(--color-white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.business-card .card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--color-bg-gray);
}

.business-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.business-card:hover .card-image img {
    transform: scale(1.08);
}

.business-card .card-body {
    padding: 25px 20px;
}

.business-card .card-body h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.business-card .card-body p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ==========================================================================
   10. 精品工程展示
   ========================================================================== */
.project-section {
    padding: 70px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: var(--color-white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.project-card .project-image {
    height: 220px;
    background: var(--color-bg-gray);
    position: relative;
    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-card .project-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 2;
}

.project-card .project-body {
    padding: 20px;
}

.project-card .project-body h3 {
    font-size: 17px;
    color: var(--color-text);
    margin-bottom: 8px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-card .project-body p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   11. 新闻动态区域
   ========================================================================== */
.news-section {
    padding: 70px 0;
    background: var(--color-bg-gray);
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.news-block .news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.news-block .news-header h3 {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 600;
}

.news-block .news-header .more {
    font-size: 13px;
    color: var(--color-text-muted);
}

.news-block .news-header .more:hover {
    color: var(--color-primary);
}

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed var(--color-border);
    transition: var(--transition);
}

.news-list li:hover {
    padding-left: 8px;
}

.news-list li:hover .news-title {
    color: var(--color-primary);
}

.news-list .news-title {
    font-size: 14px;
    color: #777777;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 15px;
    transition: var(--transition);
}

.news-list .news-date {
    font-size: 13px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

/* 新闻头条（带摘要） */
.news-feature {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--color-border);
    margin-bottom: 10px;
}

.news-feature .feature-date {
    text-align: center;
    flex-shrink: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 15px;
    border-radius: 4px;
}

.news-feature .feature-date .day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.news-feature .feature-date .month {
    font-size: 12px;
    margin-top: 4px;
}

.news-feature .feature-content h4 {
    font-size: 16px;
    color: #777777;
    margin-bottom: 8px;
    font-weight: 600;
}

.news-feature .feature-content p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   12. 底部页脚
   ========================================================================== */
.footer {
    background: #0a1e35;
    color: rgba(255,255,255,0.7);
    padding-top: 50px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-info h3 {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 15px;
}

.footer-info p {
    font-size: 13px;
    line-height: 2;
    margin-bottom: 5px;
}

.footer-info p .label {
    color: var(--color-accent);
    margin-right: 8px;
}

.footer-col h4 {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-qr {
    text-align: center;
}

.footer-qr .qr-box {
    width: 120px;
    height: 120px;
    background: var(--color-white);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--color-text-muted);
    border-radius: 4px;
    overflow: hidden;
}
.footer-qr .qr-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-qr p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.7);
}

.footer-bottom .links {
    margin-bottom: 8px;
}

.footer-bottom .links a {
    margin: 0 8px;
}

/* ==========================================================================
   13. 回到顶部按钮
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-light);
}

/* ==========================================================================
   14. 子页面通用样式
   ========================================================================== */

/* 页面主体 */
.page-main {
    padding: 50px 0;
    min-height: 400px;
}

/* 侧边栏 + 内容布局 */
.page-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 130px;
}

.sidebar-title {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
}

.sidebar-nav {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: none;
}

.sidebar-nav li a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
}

.sidebar-nav li a::before {
    content: '›';
    position: absolute;
    right: 20px;
    color: var(--color-text-muted);
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: var(--color-bg-gray);
    color: var(--color-primary);
    font-weight: 600;
    padding-left: 26px;
}

.sidebar-nav li a:hover::before {
    color: var(--color-primary);
}

/* 联系方式卡片 */
.sidebar-contact {
    background: var(--color-bg-gray);
    padding: 20px;
    margin-top: 20px;
    border-top: 3px solid var(--color-accent);
}

.sidebar-contact h4 {
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.sidebar-contact p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 2;
}

/* 内容区 */
.content-area {
    background: var(--color-white);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 15px;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 25px;
}

.content-header h2 {
    font-size: 22px;
    color: var(--color-primary);
    font-weight: 600;
}

.content-header .location {
    font-size: 13px;
    color: var(--color-text-muted);
}

.content-header .location a {
    color: var(--color-text-muted);
}

.content-header .location a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   15. 文章详情样式
   ========================================================================== */
.article-detail {
    padding: 20px 0;
}

.article-detail .article-title {
    font-size: 24px;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.article-detail .article-meta {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 25px;
}

.article-detail .article-meta span {
    margin: 0 10px;
}

.article-detail .article-content {
    font-size: 14px;
    line-height: 2;
    color: #777777;
}

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

/* 通用 article-content（用于业务板块等直接引用的场景） */
.article-content {
    font-size: 14px;
    line-height: 2;
    color: #777777;
    margin-bottom: 10px;
}

.article-content p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.article-detail .article-content img {
    margin: 20px auto;
    max-width: 100%;
}

/* ==========================================================================
   16. 信息公开页面样式
   ========================================================================== */
.info-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--color-border);
}

.info-tab {
    padding: 12px 28px;
    font-size: 15px;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-weight: 500;
}

.info-tab:hover {
    color: var(--color-primary);
}

.info-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
    font-weight: 600;
}

/* Tab 面板：默认隐藏，仅激活面板显示（修复多栏目内容堆叠显示） */
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 15px;
    border-bottom: 1px dashed var(--color-border);
    transition: var(--transition);
}

.info-list li:hover {
    background: var(--color-bg-gray);
    padding-left: 20px;
}

.info-list .info-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

.info-list .info-tag.urgent {
    background: #c8161d;
}

.info-list .info-title {
    font-size: 14px;
    color: #777777;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 15px;
    transition: var(--transition);
}

.info-list li:hover .info-title {
    color: var(--color-primary);
}

.info-list .info-date {
    font-size: 13px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

/* ==========================================================================
   17. 人才招聘页面样式
   ========================================================================== */
.recruit-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}

.recruit-banner h2 {
    font-size: 32px;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.recruit-banner p {
    font-size: 16px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.job-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.job-table thead th {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.job-table tbody td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.job-table tbody tr:hover {
    background: var(--color-bg-gray);
}

.job-table .job-status {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 3px;
    background: #e8f5e9;
    color: #2e7d32;
}

/* 福利待遇卡片 */
.welfare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.welfare-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--color-bg-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.welfare-card:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.welfare-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-primary);
}

.welfare-card:hover .icon {
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
}

.welfare-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.welfare-card p {
    font-size: 13px;
    opacity: 0.8;
}

/* ==========================================================================
   18. 联系我们页面样式
   ========================================================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    text-align: center;
    padding: 35px 20px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--color-primary);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--color-bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-primary);
}

.contact-card h4 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* 地图区域 */
.map-placeholder {
    height: 400px;
    background: var(--color-bg-gray);
    position: relative;
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-placeholder .map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(15,59,115,0.85);
    color: var(--color-white);
    padding: 30px 50px;
    border-radius: 8px;
    z-index: 2;
}

.map-placeholder .map-overlay .map-pin {
    font-size: 36px;
    margin-bottom: 10px;
}

.map-placeholder .map-overlay p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.map-placeholder .map-overlay span {
    font-size: 12px;
    opacity: 0.7;
}

.map-address-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 0 0 8px 8px;
    margin-bottom: 40px;
}

.map-address-bar .map-pin {
    font-size: 18px;
    line-height: 1;
}

.map-address-bar p {
    font-size: 15px;
    font-weight: 500;
}

/* 留言表单 */
.contact-form {
    background: var(--color-white);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label .required {
    color: #c8161d;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-family);
    transition: var(--transition);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15,59,115,0.1);
}

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

/* ==========================================================================
   19. 走进公司页面专用样式
   ========================================================================== */

/* 发展历程时间线 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item .timeline-year {
    width: 50%;
    text-align: center;
    padding: 0 30px;
}

.timeline-item .timeline-year span {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
}

.timeline-item .timeline-content {
    width: 50%;
    padding: 20px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
}

.timeline-item .timeline-content h4 {
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline-item .timeline-content p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 25px;
    width: 14px;
    height: 14px;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* 组织架构图 */
.org-chart {
    text-align: center;
    padding: 30px 0;
}

.org-chart .org-top {
    display: inline-block;
    padding: 15px 40px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 30px;
    position: relative;
}

.org-chart .org-top::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    width: 2px;
    height: 25px;
    background: var(--color-border);
}

.org-chart .org-middle {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}

.org-chart .org-middle::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-border);
}

.org-chart .org-node {
    padding: 12px 25px;
    background: var(--color-primary-light);
    color: var(--color-white);
    font-size: 15px;
    border-radius: 6px;
    position: relative;
}

.org-chart .org-node::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    width: 2px;
    height: 25px;
    background: var(--color-border);
}

/* 企业文化 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.culture-card {
    text-align: center;
    padding: 35px 20px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    transition: var(--transition);
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.culture-card .culture-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--color-white);
}

.culture-card h4 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.culture-card p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ==========================================================================
   20. 业务板块页面专用样式
   ========================================================================== */
.business-detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.business-detail-item {
    display: flex;
    gap: 20px;
    background: var(--color-white);
    padding: 25px;
    box-shadow: var(--transition);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.business-detail-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.business-detail-item .item-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.business-detail-item .item-body h4 {
    font-size: 17px;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.business-detail-item .item-body p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ==========================================================================
   21. 精品工程页面专用样式
   ========================================================================== */
.project-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    font-size: 14px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.project-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: 4px;
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.pagination span.disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid var(--color-border);
    color: #aaa;
    border-radius: 4px;
    cursor: not-allowed;
    background: var(--color-bg-gray);
}

/* ==========================================================================
   22. 响应式 - 移动端适配
   ========================================================================== */

/* 平板 */
@media (max-width: 1024px) {
    :root {
        --header-height: 80px;
    }

    .container {
        max-width: 100%;
    }

    .nav > li > a {
        padding: 0 15px;
        font-size: 15px;
    }

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

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

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

    .about-section .container {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 260px;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

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

    .page-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .business-detail-list {
        grid-template-columns: 1fr;
    }

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

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* 手机 */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    /* 隐藏顶部信息栏 */
    .top-bar {
        display: none;
    }

    /* 头部布局调整 */
    .header .container {
        height: var(--header-height);
    }

    .logo .logo-icon {
        width: 42px;
        height: 42px;
    }

    .logo .logo-text h1 {
        font-size: 14px;
        line-height: 42px;
        height: 42px;
        transform: translateY(5px);
    }

    .logo .logo-text p {
        display: none;
    }

    /* 显示汉堡菜单，隐藏PC导航 */
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--color-white);
        flex-direction: column;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        padding-bottom: 40px;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav > li {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .nav > li > a {
        height: auto;
        line-height: 1.8;
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: none;
    }

    .nav > li > a:hover,
    .nav > li.active > a {
        border-bottom: none;
        background: var(--color-bg-gray);
    }

    /* 移动端下拉菜单展开 */
    .sub-nav {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background: var(--color-bg-gray);
    }

    .nav > li.open .sub-nav {
        display: block;
    }

    .sub-nav li a {
        padding: 12px 40px;
        font-size: 14px;
    }

    /* Banner */
    .banner {
        height: 280px;
    }

    .banner-slide .banner-content h2 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .banner-slide .banner-content p {
        font-size: 14px;
    }

    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .banner-arrow.prev { left: 10px; }
    .banner-arrow.next { right: 10px; }

    /* 子页面 Banner */
    .page-banner {
        height: 180px;
    }

    .page-banner h2 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    /* 快捷入口 */
    .quick-entry {
        margin-top: -30px;
    }

    .quick-entry .container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quick-entry-item {
        padding: 20px;
    }

    /* 通用区块 */
    .section,
    .about-section,
    .business-section,
    .project-section,
    .news-section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 24px;
    }

    /* 关于我们 */
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .about-stats .stat-num {
        font-size: 26px;
    }

    /* 业务板块 */
    .business-grid {
        grid-template-columns: 1fr;
    }

    /* 精品工程 */
    .project-grid,
    .project-list-grid {
        grid-template-columns: 1fr;
    }

    /* 新闻 */
    .news-feature {
        flex-direction: column;
        gap: 10px;
    }

    .news-feature .feature-date {
        display: inline-flex;
        gap: 8px;
        align-items: baseline;
        padding: 6px 12px;
    }

    /* 页脚 */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-qr {
        text-align: left;
    }

    .footer-qr .qr-box {
        margin: 0 0 10px;
    }

    /* 子页面布局 */
    .page-layout {
        gap: 20px;
    }

    .content-header h2 {
        font-size: 18px;
    }

    /* 招聘表格 */
    .job-table {
        display: block;
        overflow-x: auto;
    }

    .welfare-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }

    /* 联系表单 */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    /* 时间线 */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 45px;
    }

    .timeline-item .timeline-year,
    .timeline-item .timeline-content {
        width: 100%;
        text-align: left;
    }

    .timeline-item .timeline-year {
        display: none;
    }

    .timeline-item::before {
        left: 20px;
    }

    /* 组织架构 */
    .org-chart .org-middle {
        flex-direction: column;
    }

    /* 分页 */
    .pagination a {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* 回到顶部 */
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* 超小屏 */
@media (max-width: 380px) {
    .logo .logo-text h1 {
        font-size: 13px;
    }

    .section-title h2 {
        font-size: 20px;
    }
}

/* ==========================================================================
   新闻详情弹窗（图文混排）
   ========================================================================== */
.news-feature[style*="cursor:pointer"],
a.news-title[data-news] { transition: var(--transition); }
a.news-title[data-news]:hover { color: var(--color-primary-light); text-decoration: underline; }

.news-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.55);
    display: none; align-items: flex-start; justify-content: center;
    padding: 166px 15px 40px; overflow-y: auto;
}
/* 平板：顶部信息栏36px + 头部80px + 额外下沉20px */
@media (max-width: 1024px) {
    .news-modal-overlay { padding-top: 136px; }
}
/* 手机：顶部信息栏隐藏，头部60px + 额外下沉20px */
@media (max-width: 768px) {
    .news-modal-overlay { padding-top: 80px; }
}
.news-modal {
    position: relative; width: 100%; max-width: 1200px;
    background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg);
    animation: newsModalIn .25s ease;
}
@keyframes newsModalIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform:none; } }
.news-modal-close {
    position: absolute; top: 16px; right: 18px; z-index: 2;
    width: 46px; height: 46px; border: none; border-radius: 50%;
    background: rgba(0,0,0,.06); color: #555; font-size: 30px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.news-modal-close-x {
    display: inline-block; line-height: 1; transition: transform .25s ease;
}
.news-modal-close:hover { background: rgba(0,0,0,.12); }
.news-modal-close:hover .news-modal-close-x { transform: rotate(90deg); }
.news-modal-body { padding: 36px 40px 44px; }
.news-modal-head { border-bottom: 2px solid #d0d0d0; padding-bottom: 14px; margin-bottom: 20px; }
.news-modal-head h2 { margin: 0; font-size: 24px; line-height: 1.4; color: var(--color-primary); }
.news-modal-date { margin-top: 8px; color: var(--color-text-muted); font-size: 14px; }
.news-modal-content { font-size: 14px; line-height: 2; color: #777777; }
.news-modal-content p,
.news-block-text p,
.news-summary p { font-size: 14px; color: #777777; line-height: 2; margin: 0 0 15px; text-indent: 2em; }
.news-block-img { margin: 0 0 22px; text-align: center; }
.news-block-img img { max-width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-sm); }
.news-block-img figcaption { margin-top: 8px; color: var(--color-text-muted); font-size: 13px; }
/* 弹窗内所有图片统一居中（含未包裹在 .news-block-img 中的内联图） */
.news-modal-content img, .news-block-text img, .news-summary img {
    display: block; max-width: 100%; height: auto;
    margin: 0 auto 18px; border-radius: 6px; box-shadow: var(--shadow-sm);
}
.news-summary { margin-top: 22px; }
@media (max-width: 600px) {
    .news-modal-body { padding: 30px 20px 36px; }
    .news-modal-head h2 { font-size: 20px; }
    .news-modal-content { font-size: 15px; }
}
