/* 中标公告样式 */
.bid-announcement {
    padding: 30px 0;
    text-align: center;
}

.bid-title {
    text-align: center;
    margin-bottom: 40px;
}

.bid-title span {
    font-size: 44px;
    color: #eaeaea;
    letter-spacing: 2px;
    font-weight: bold;
}

.bid-title p {
    font-size: 42px;
    color: #333;
    font-weight: bold;
    margin-top: 10px;
    position: relative;
}

/* 针对1440px分辨率及以下的设备 */
@media (max-width: 1440px) {
    .bid-title span {
        font-size: 30px;
        letter-spacing: 1px; /* 可以适当调整字间距 */
    }
    
    .bid-title p {
        font-size: 32px;
    }
}

/* 如果需要更精细的控制，可以添加更多断点 */
/* 例如，在1200px分辨率下 */
@media (max-width: 1200px) {
    .bid-title span {
        font-size: 28px;
    }
    
    .bid-title p {
        font-size: 30px;
    }
}

/* 在1080px分辨率下 */
@media (max-width: 1080px) {
    .bid-title span {
        font-size: 26px;
    }
    
    .bid-title p {
        font-size: 28px;
    }
}

/* 在768px分辨率下（平板） */
@media (max-width: 768px) {
    .bid-title span {
        font-size: 24px;
        letter-spacing: 0.5px;
    }
    
    .bid-title p {
        font-size: 26px;
    }
}

/* 在480px分辨率下（手机） */
@media (max-width: 480px) {
    .bid-title span {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
    
    .bid-title p {
        font-size: 22px;
    }
}

.bid-title p:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1890ff;
}

.bid-scroll-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    gap: 15px;
}

/* 两列布局 - 确保行对齐 */
.bid-scroll-content {
    flex: 1;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.bid-scroll-inner {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px; /* 统一的行间距 */
}

.bid-item {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #1890ff;
    text-align: left;
    font-weight: 500;
    min-height: 60px; /* 统一的最小高度 */
    max-height: 60px; /* 统一的最大高度 */
    display: flex;
    align-items: center;
    overflow: hidden; /* 隐藏超出内容 */
}

/* 文字截断样式 */
.bid-item-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 最多显示2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em; /* 2行文字的高度 */
    width: 100%;
}

.bid-item:hover {
    background: #12186c;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(18, 24, 108, 0.3);
    border-left-color: #ffd700;
}

.bid-item:hover .bid-item-text {
    -webkit-line-clamp: unset; /* 悬停时显示全部内容 */
    max-height: none;
}

/* 无缝滚动动画 */
@keyframes smoothScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-100% + 200px));
    }
}

.bid-scroll-inner {
    animation: smoothScroll 25s linear infinite;
}

.bid-scroll-inner:hover {
    animation-play-state: paused;
}

/* 查看详情按钮 */
.bid-more-btn {
    text-align: center;
    margin-top: 30px;
}

.bid-more-link {
    display: inline-block;
    padding: 12px 30px;
    background: #12186c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(18, 24, 108, 0.3);
}

.bid-more-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(18, 24, 108, 0.5);
    background: #0d1257;
}

.bid-more-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.bid-more-link:hover i {
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .bid-scroll-container {
        margin: 0 20px;
        padding: 20px;
        flex-direction: column;
    }
    
    .bid-scroll-content {
        height: 180px;
    }
    
    .bid-item {
        font-size: 13px;
        padding: 10px 12px;
        min-height: 55px;
        max-height: 55px;
    }
    
    .bid-title p {
        font-size: 24px;
    }
    
    .bid-more-link {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    @keyframes smoothScroll {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(calc(-100% + 180px));
        }
    }
}