/* 广告位侧边栏样式 */
.ad-sidebar {
    position: fixed;
    top: 80px;
    bottom: 0;
    width: 15%;
    overflow-y: auto;
    padding: 20px;
    display: none;
    z-index: 100;
}

#ad-sidebar-left {
    left: 0;
}

#ad-sidebar-right {
    right: 0;
}

/* 广告项样式 */
.ad-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.ad-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式布局 */
@media screen and (min-width: 1024px) {
    .ad-sidebar {
        display: block;
    }
}

@media screen and (max-width: 1023px) {
    .ad-sidebar {
        display: none !important;
    }
}
