﻿/* PC广告组件核心样式 - 独立无冲突 */
.pc-ad-wrap {
    width: 100%;
    margin: 30px 0 !important; /* 关键：上下边距从20px改成30px，可根据需求调更大（比如40px） */
    box-sizing: border-box;
}
.pc-ad-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0 auto; /* 居中显示，可选 */
}
/* 【已删除】推广标签样式 - 彻底移除，不再生效 */
/* 轮播图容器 */
.pc-ad-img-box {
    width: 100%;
    position: relative;
    cursor: pointer;
}
/* 轮播图片 */
.pc-ad-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.pc-ad-img.active {
    display: block;
}
/* 轮播指示器 */
.pc-ad-indicator {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 9;
}
.pc-ad-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.pc-ad-dot.active, .pc-ad-dot:hover {
    background: #26a2ff !important;
}
/* 内容区域（无标题，优化padding） */
.pc-ad-content-wrap {
    padding: 15px 15px !important; /* 内容内部上下padding从12px改成15px，更宽松 */
    border-top: 1px solid #f0f0f0;
    background: #fff;
}
/* 富文本内容样式 */
.pc-ad-rich-text-wrap {
    font-size: 14px;
    color: #666;
    line-height: 1.8 !important; /* 行高从1.6改成1.8，文字更舒展 */
    overflow-y: auto;
}
.pc-ad-rich-text-wrap a {
    color: #26a2ff !important;
    text-decoration: none;
}
.pc-ad-rich-text-wrap a:hover {
    text-decoration: underline;
}
.pc-ad-rich-text-wrap p {
    margin: 0 0 8px 0 !important; /* 段落间距从4px改成8px，更宽松 */
}
/* 空状态 */
.pc-ad-empty {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    font-size: 14px;
    border-radius: 8px;
    margin: 30px 0; /* 空状态也同步调整边距 */
}