

.bf-ad-header-inner {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    background: #FFF;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
}
.bf-contact-btn i{
    font-size: 20px;
}
.bf-contact-btn  {
  margin-right: 10px;
}
.bf-ad-header-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #fff;
    color: #666;
    font-size: 12px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.bf-ad-header-item:hover {
    background: #f8f9fa;
    border-color: #dc3544;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 68, 0.15);
}

.bf-ad-header-image {
    width: 100%;
    max-width: 120px;
    height: 80px;
    margin-bottom: 6px;
    overflow: hidden;
    border-radius: 50px;
    flex-shrink: 0;
}

.bf-ad-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-ad-header-text {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.bf-ad-header-item:hover .bf-ad-header-text {
    color: #dc3544;
}

@media (max-width: 991px) {
    .bf-ad-header-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 12px;
    }
    
    .bf-ad-header-image {
        max-width: 80px;
        height: 60px;
    }
    
    .bf-ad-header-text {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .bf-ad-header-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .bf-ad-header-item {
        padding: 6px;
    }
    
    .bf-ad-header-image {
        height: 50px;
    }
    
    .bf-ad-header-text {
        font-size: 11px;
    }
}

.bf-ad-feed {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    position: relative;
}

.bf-ad-feed::before {
    content: '广告';
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 8px;
    background: #ffc107;
    color: #333;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 600;
}

.bf-ad-feed-content {
    display: flex;
    gap: 15px;
}

.bf-ad-feed-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.bf-ad-feed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-ad-feed-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bf-ad-feed-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.bf-ad-feed-title a {
    color: #333;
    text-decoration: none;
}

.bf-ad-feed-title a:hover {
    color: #dc3544;
}

.bf-ad-feed-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    flex: 1;
    margin: 0;
}

.bf-ad-feed-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #dc3544;
    font-size: 13px;
    text-decoration: none;
    margin-top: 8px;
}

.bf-ad-feed-link:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .bf-ad-feed-content {
        flex-direction: column;
    }
    
    .bf-ad-feed-image {
        width: 100%;
        height: 150px;
    }
}