
:root {
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --accent: #2563eb;
    --accent-light: #1a0b0b;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: #f8fafc;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 全局背景图（与首页下半部分一致） */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/lagt.png') center/cover no-repeat;
    z-index: -2;
}
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.88), rgba(255,255,255,0.92));
    z-index: -1;
}


.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.05em;
}

/* ========== Logo 变大 + 圆形（圆滑） ========== */
.logo-img {
    height: 60px;           /* Logo 变大（原来是50px） */
    width: 60px;            /* 宽度固定，保持圆形 */
    object-fit: cover;      /* 图片内容裁剪填充 */
    border-radius: 50%;     /* ✅ 关键：变成圆形 */
    border: 3px solid #ffffff; /* 可选：加边框更美观 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);   /* 可选：阴影效果 */
}

.logo-text {
    font-size: 28px;        /* 文字变大（原来是24px） */
    font-weight: 700;
    margin-left: 12px;      /* Logo和文字的间距 */
}

/* ========== 导航链接文字变大 ========== */
.nav-links {
    display: flex;
    gap: 2.5rem;            /* 间距稍微加大 */
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;       /* 加粗一点 */
    font-size: 18px;        /* ✅ 文字变大（原来是默认大小） */
    padding: 8px 16px;      /* 增加点击区域 */
    border-radius: 6px;     /* 链接圆角 */
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a.active {
    color: var(--accent);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 6px;
    margin-bottom: -8px;
}

.home-video-strip {
    padding: 1.25rem 0 0.75rem;
    position: relative;
    z-index: 2;
}

.home-video-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.home-video-strip-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 0.75rem;
}

.home-video-strip-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.home-video-strip-list {
    position: relative;
    height: 340px;
    overflow: hidden;
    padding: 0 56px;
    perspective: 1400px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
}

.home-video-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 520px;
    margin-left: -260px;
    transform-origin: center center;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15,23,42,0.12);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), z-index 0s, box-shadow 0.5s ease;
    pointer-events: auto;
    backface-visibility: hidden;
}

.home-video-card.active {
    box-shadow: 0 18px 40px rgba(15,23,42,0.18);
    pointer-events: auto;
}

.home-video-media {
    aspect-ratio: 16/9;
    background: #0b1220;
    pointer-events: none;
}
.home-video-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: auto;
}

.home-video-title {
    padding: 10px 12px 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}

.home-video-strip-empty {
    color: var(--text-muted);
    font-size: 14px;
    padding: 8px 0;
}

.home-video-arrow {
    position: absolute;
    top: 54%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(10px);
    color: #111827;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.home-video-arrow:hover { background: rgba(255,255,255,0.92); transform: translateY(-50%) scale(1.04); }
.home-video-arrow.prev { left: 24px; }
.home-video-arrow.next { right: 24px; }

@media (max-width: 900px) {
    .home-video-strip-list { height: 260px; padding-left: 44px; padding-right: 44px; }
    .home-video-card { width: 85vw; margin-left: -42.5vw; }
    .home-video-arrow.prev { left: 12px; }
    .home-video-arrow.next { right: 12px; }
}

.hero {
    position: relative;
    height: 100vh; /* 首页首屏全屏铺满 */
    min-height: 100vh;
    max-height: none;
    overflow: hidden;  /* 超出红框部分裁剪 */
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0; /* 顶满全宽（全屏铺满） */
    /* 留白区域保持透明，透出页面全局背景 */
    background: transparent;
    touch-action: pan-y; /* 允许横向拖动切换，不影响页面滚动 */
    cursor: grab;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 100%;
    background-repeat: no-repeat !important;  /* 强制不重复 */
    background-size: cover !important;        /* 强制覆盖 */
    background-position: center center !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.12s ease;
    z-index: 0;
    border-radius: 0;
    overflow: hidden;
}


.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 首屏轮播：视频媒体覆盖 */
.carousel-media-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none; /* 避免影响拖拽手感 */
    background: #000;
}

@media (max-width: 900px) {
    .carousel { padding: 0; }
    .carousel-slide { left: 0; right: 0; border-radius: 0; }
    .carousel-arrow.prev { left: 12px; }
    .carousel-arrow.next { right: 12px; }
}

.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

/* 遮罩层 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* 不额外覆盖轮播区域，让左右留白透出页面全局背景 */
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
    color: white;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--accent-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent-light);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.15);
}

/* 轮播控制 */
.carousel-controls,
.carousel-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.25);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-arrow:hover {
    background: var(--accent);
    color: #fff;
}

.carousel-arrow.prev {
    left: 16px;
}

.carousel-arrow.next {
    right: 16px;
}

/* 错误提示 */
.error-msg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fca5a5;
    z-index: 10;
    text-align: center;
}


section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}


.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-visual {
    height: 320px;
    background: linear-gradient(135deg, var(--bg-card), rgba(59, 130, 246, 0.15));
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.8;
}


.bidding-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.bidding-item {
    margin-bottom: 2.5rem;
    overflow: auto;
}

.bidding-media {
    position: relative;
    float: right;
    width: 320px;
    height: 240px;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--bg-card), rgba(59, 130, 246, 0.15));
    overflow: hidden;
}

.bidding-carousel {
    position: absolute;
    inset: 0;
}

.bidding-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background-size: cover;
    background-position: center;
}

.bidding-slide.active {
    opacity: 1;
    z-index: 1;
}

.bidding-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
}

.bidding-arrow:hover {
    background: var(--accent);
}

.bidding-arrow.prev {
    left: 4px;
}

.bidding-arrow.next {
    right: 4px;
}

.bidding-carousel-controls {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 4px;
}

.bidding-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.bidding-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* 关于六钢：与首页同款的轮播区域（全宽出血） */
.about-hero-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 2.5rem;
}

/* 关于六钢：轮播区半屏（覆盖全局 .hero 的 100vh / min-height:100vh，不误伤首页） */
.about-hero-bleed .hero.about-hero,
#app .about-hero-bleed--spa .hero.about-hero {
    height: 50vh;
    min-height: 0;
    max-height: none;
}

#app .about-hero-bleed--spa {
    position: relative;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
}

/* 关于六钢：上图下文 + 轮播（旧版类名，保留兼容） */
.about-carousel-wrap {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border);
}

.about-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0b1220;
}

.about-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
}

.about-slide.active {
    opacity: 1;
    z-index: 1;
}

.about-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    color: #111827;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
}

.about-arrow:hover {
    background: #fff;
}

.about-arrow.prev {
    left: 10px;
}

.about-arrow.next {
    right: 10px;
}

.about-dots-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 6px;
}

.about-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.about-dot.active {
    background: var(--accent, #3b82f6);
    transform: scale(1.2);
}

#about .about-text {
    max-width: 1000px;
    width: 100%;
}

.bidding-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.bidding-body p {
    color: var(--text-muted);
    line-height: 1.7;
}

.bidding-body.no-media {
    max-width: 100%;
}

/* 简化版招标列表（来自 main.css） */
.bidding-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.bidding-list .bidding-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.bidding-list .bidding-item h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.bidding-list .bidding-item .date {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}


.services-carousel-wrap {
    overflow: hidden;
    padding: 0 3rem;
}

.services-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s;
}

.service-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.services-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.services-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

.services-nav button:hover {
    background: var(--accent);
    color: #fff;
}


.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-light);
}

.stat-item .label {
    color: var(--text-muted);
    font-size: 0.95rem;
}


.contact-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-wrap {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-wrap p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-info {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: left;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #475569;
}


footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: #0f172a;
    color: #94a3b8;
}

.home-content-frame {
    width: 100%;
    border: 0;
    display: block;
    min-height: 60vh; /* 初始占位，实际高度由 JS 自动撑开 */
    background: transparent;
    overflow: hidden;
}

/* 首页产品模块（第二区域下方） */
.home-products {
    padding: 4rem 0 5rem;
    position: relative;
    z-index: 1;
}

.home-products-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-products-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.home-products-desc {
    text-align: center;
    color: var(--text-muted);
    margin: 0 auto 3rem;
    max-width: 560px;
    font-size: 1rem;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.home-product-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.home-product-img-wrap {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-product-placeholder {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.8;
}

.home-product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    padding: 1rem 1rem 0.25rem;
}

.home-product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    padding: 0 1rem 1rem;
}

@media (max-width: 900px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .home-products-grid {
        grid-template-columns: 1fr;
    }
}


.loading {
    text-align: center;
    padding: 4rem;
    color: var(--text-muted);
}


@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .bidding-media {
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 1rem;
        display: block;
    }

    .service-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

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

@media (max-width: 800px) {
    .nav-links {
        display: none;
    }

    .hero-content .btn-outline {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .service-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1rem;
    }
}

/* 招采列表（分页卡片） */
.bidding-list-page {
    padding: 120px 1.5rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.bidding-list-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bidding-list-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bidding-list-card:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.bidding-list-thumb {
    flex: 0 0 140px;
    width: 140px;
    min-height: 100px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    overflow: hidden;
}

.bidding-list-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.bidding-list-thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bidding-list-card-body {
    flex: 1;
    min-width: 0;
}

.bidding-list-card-body h3 {
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.bidding-list-card-body p {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.bidding-list-meta {
    font-size: 0.85rem;
    color: var(--accent, #2563eb);
}

.bidding-list-more {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--accent, #2563eb);
    font-weight: 600;
}

.bidding-list-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
}

.bidding-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.bidding-pager-btn {
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.95rem;
}

.bidding-pager-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.bidding-pager-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bidding-pager-extras {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.65rem;
    margin-left: 0.25rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border, #e5e7eb);
}

.bidding-pager-label {
    font-size: 0.88rem;
    color: var(--text-muted, #64748b);
    white-space: nowrap;
}

.bidding-pager-select {
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--border, #e5e7eb);
    background: rgba(255, 255, 255, 0.95);
    min-width: 5.25rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.bidding-pager-jump-input {
    width: 3.5rem;
    padding: 0.4rem 0.45rem;
    border-radius: 8px;
    border: 1px solid var(--border, #e5e7eb);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    text-align: center;
    -moz-appearance: textfield;
}

.bidding-pager-jump-input::-webkit-outer-spin-button,
.bidding-pager-jump-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 600px) {
    .bidding-list-card {
        flex-direction: column;
    }

    .bidding-list-thumb {
        width: 100%;
        flex: none;
        min-height: 160px;
    }

    .bidding-pager {
        flex-direction: column;
        align-items: stretch;
    }

    .bidding-pager-extras {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: center;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border, #e5e7eb);
    }
}

/* ---------- 党群建设 ---------- */
/* 覆盖全局 section 的 max-width:1200px 与左右 padding，便于相对整页做 10% 留白 */
.party-page {
    padding: 72px 0 0;
    max-width: none;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.party-hero-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 2.5rem;
}

.party-hero-bleed .hero.party-hero {
    height: 45vh;
    min-height: 0;
    max-height: none;
}

/* 标题与图文区：相对视口左右各 10% 空白，中间图文左右顶满该 80% 区域 */
.party-body {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 0 10% 3rem;
    box-sizing: border-box;
}

.party-body-desc {
    margin-bottom: 2rem;
}

/* 左右箭头独立占位，不叠在文字/图片上 */
.party-split-shell {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(10px, 1.2vw, 16px);
    width: 100%;
    margin: 0;
    padding: 0;
}

.party-split-viewport {
    flex: 1;
    min-width: 0;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
    touch-action: pan-y;
}

.party-split-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* 单条幻灯片内：左文 40% / 右图 60%；纵向以中线对齐，图比字高一截 */
.party-split-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
    padding: 0;
    width: 100%;
}

.party-split-text {
    flex: 4 1 0;
    min-width: 0;
    position: relative;
    z-index: 2;
    /* ≈40% */
}

/* 文字区：滚动条细窄、不抢眼 */
.party-split-text-inner {
    height: 42vh;
    min-height: 220px;
    max-height: min(42vh, 620px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.35rem 1.4rem 1.35rem 1.45rem;
    padding-right: clamp(1rem, 2vw, 1.35rem);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* 半透明底，透出背后页面/配图层次 */
    background: linear-gradient(
        165deg,
        rgba(10, 39, 68, 0.58) 0%,
        rgba(13, 58, 92, 0.62) 45%,
        rgba(10, 39, 68, 0.58) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #f1f5f9;
    line-height: 1.8;
    font-size: 0.98rem;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        4px 0 18px rgba(15, 23, 42, 0.18);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.06);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.party-split-text-inner::-webkit-scrollbar {
    width: 5px;
}

.party-split-text-inner::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    margin: 6px 0;
}

.party-split-text-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.32);
    border-radius: 6px;
}

.party-split-text-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.48);
}

/* 右图：约 60% 宽，略左移与文字重叠；高度高于左侧文字 */
.party-split-img {
    flex: 6 1 0;
    min-width: 0;
    margin-left: clamp(-40px, -4vw, -18px);
    position: relative;
    z-index: 1;
    height: 52vh;
    min-height: 280px;
    max-height: min(52vh, 800px);
    border-radius: 14px;
    overflow: hidden;
    background: #0b1220;
    align-self: center;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
}

.party-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.party-split-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.party-split-arrow {
    position: relative;
    flex-shrink: 0;
    align-self: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: rgba(255, 255, 255, 0.98);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    color: #334155;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    z-index: 1;
}

.party-split-arrow:hover {
    background: #fff;
    border-color: var(--accent, #2563eb);
    color: var(--accent, #2563eb);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.party-split-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.party-split-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.2);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s, background 0.2s;
}

.party-split-dot.active {
    background: var(--accent, #2563eb);
    transform: scale(1.15);
}

.party-split-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--text-muted, #64748b);
    width: 100%;
}

.party-top-carousel {
    cursor: grab;
}

@media (max-width: 768px) {
    .party-body {
        padding: 0 5% 2.5rem;
    }

    .party-split-shell {
        gap: 8px;
    }

    .party-split-slide {
        flex-direction: column;
        align-items: stretch;
    }

    .party-split-text,
    .party-split-img {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .party-split-text-inner,
    .party-split-img {
        height: auto;
        max-height: none;
        min-height: 200px;
    }

    .party-split-text-inner {
        max-height: min(40vh, 300px);
        padding-right: 1.35rem;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .party-split-img {
        min-height: 200px;
        height: 40vh;
        max-height: 380px;
    }

    .party-split-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}