/* 广告位样式 */
.ad-container {
    margin: 24px 0;
    padding: 16px;
    background: #f8f9fc;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    text-align: center;
}

.ad-label {
    font-size: 10px;
    color: #bbb;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 横幅广告 */
.ad-banner {
    display: block;
    width: 100%;
    max-width: 728px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform .2s;
}

.ad-banner:hover {
    transform: scale(1.02);
}

/* 信息流广告 */
.ad-native {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: box-shadow .2s;
}

.ad-native:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.ad-native-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ad-native-content {
    flex: 1;
    text-align: left;
}

.ad-native-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.ad-native-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* 侧边栏广告 */
.ad-sidebar {
    position: sticky;
    top: 80px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.ad-sidebar img {
    width: 100%;
    border-radius: 8px;
}

.ad-sidebar-card {
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.ad-sidebar-card a {
    display: block;
    text-decoration: none;
}

.ad-sidebar-image {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.ad-sidebar-title {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 移动端优化 */
@media (max-width: 767px) {
    .ad-container {
        margin: 16px 0;
        padding: 12px;
    }

    .ad-banner {
        max-width: 100%;
    }

    .ad-native {
        flex-direction: column;
        text-align: center;
    }

    .ad-native-image {
        width: 100%;
        height: 120px;
    }

    .ad-native-content {
        text-align: center;
    }

    .ad-sidebar {
        position: static;
        margin-top: 16px;
    }
}
