/* 广告页面样式 */
.banner-ad {
    margin: 15px 0;
}

.banner-item {
    margin-bottom: 15px;
}

.banner-item img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

/* 广告位占位样式 */
.placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

.placeholder i {
    font-size: 32px;
    margin-bottom: 10px;
}

.placeholder p {
    margin: 5px 0;
    font-size: 14px;
}

.demo-banner .placeholder {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-list {
    padding: 10px 0;
}

.text-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.text-item:last-child {
    border-bottom: none;
}

.text-item a {
    color: #333;
    font-size: 16px;
    text-decoration: none;
    margin-right: 10px;
}

.text-item a:hover {
    color: #007bff;
}

.text-item .text-muted {
    font-size: 14px;
    color: #666;
}

.sidebar-ad {
    padding: 10px 0;
}

.sidebar-item {
    margin-bottom: 15px;
}

.sidebar-item:last-child {
    margin-bottom: 0;
}

.sidebar-item .placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sidebar-item .placeholder {
        height: 200px;
    }
}

/* 导航路径样式 */
.nav-path {
    padding: 10px;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
}

.nav-path i {
    margin-right: 5px;
}

/* 广告卡片样式 */
.card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* 广告区块标题 */
.ad-section-head {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    border-radius: 4px 4px 0 0;
}

.ad-section-head i {
    margin-right: 8px;
    color: #666;
}

.item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item:last-child {
    border-bottom: none;
}

.title {
    width: 25%;
    font-size: 16px;
    color: #333;
}

.position {
    width: 50%;
    color: #666;
    line-height: 1.6;
}

.view-image {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    margin-left: 15px;
}

.view-image:hover {
    text-decoration: underline;
}

.price {
    width: 20%;
    color: #f60;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

/* 联系方式样式 */
.contact-info {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 20px;
}

.contact-info .title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.contact-info .title i {
    margin-right: 5px;
    color: #666;
}

.contact-info .content p {
    margin: 8px 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .title, .position, .price {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .price {
        text-align: left;
    }
}

/* 图片预览弹窗 */
.image-preview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.preview-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.preview-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
}

.close-preview {
    position: absolute;
    top: -30px;
    right: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
} 