.ban{min-height:110px;}
.bd_weixin_popup{
height: 330px !important;}

.attachment-box {
    margin-top: 40px;
    padding-top: 20px;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;}

.attachment-box h4 {
    font-size: 16px;
    color: #900;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #900;
    display: inline-block;}

.attachment-list {
    list-style: none;
    margin: 0;
    padding: 0;}

.attachment-list li {
    position: relative;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    border-left: 3px solid #900;
    background-color: #fdfdfd;
    transition: all 0.3s ease;}

.attachment-list li:hover {
    background-color: #fff8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 0, 0, 0.08);}

/* 关键：链接撑满整个 li */
.attachment-list li a {
    display: flex; /* 使用 flexbox 垂直居中图标和文字 */
    align-items: center;
    padding: 10px 120px 10px 15px; /* 右侧留出下载次数的空间 */
    color: #333;
    text-decoration: none;
    font-size: 14px;
    box-sizing: border-box;}

.attachment-list li a:hover {
    color: #900;}

/* 你提供的 SVG 图标样式 */
.file-icon {
    width: 28px; /* 控制图标大小 */
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;}

.file-icon svg {
    width: 100%;
    height: 100%;
    display: block;}

/* 文件名文本，防止过长溢出 */
.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;}

.download-count {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #888;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    pointer-events: none; /* 点击穿透 */
    white-space: nowrap;}

/* 响应式：小屏幕适配 */
@media (max-width: 480px) {
    .attachment-list li a {
        padding-right: 100px;}
    .download-count {
        right: 10px;
        font-size: 11px;}
    .file-icon {
        width: 24px;
        height: 28px;
        margin-right: 8px;}
}
